/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.wiredsys.credcheck.beans;

import java.io.Serializable;
import java.util.Calendar;

/**
 *
 * @author ppacheco
 */
public class Login extends Users implements Serializable {

    private final Users fKey = null;
    private Calendar lastAccess = null;
    private String cipheredPassword = null;
    private String loginToken = null;

    public Users getfKey() {
        return fKey;
    }

    public void setfKey(Long userId, Calendar creationDate, Integer loginStatus) {
        Users users = new Users();
        users.setUserId(userId);
        users.setCreationDate(creationDate);
        users.setLoginStatus(loginStatus);
    }
    
    public Calendar getLastAccess() {
        return lastAccess;
    }

    public void setLastAccess(Calendar lastAccess) {
        this.lastAccess = lastAccess;
    }

    public String getCipheredPassword() {
        return cipheredPassword;
    }

    public void setCipheredPassword(String cipheredPassword) {
        this.cipheredPassword = cipheredPassword;
    }

    public String getLoginToken() {
        return loginToken;
    }

    public void setLoginToken(String loginToken) {
        this.loginToken = loginToken;
    }
}